package pro01;

public class Test {
	public static void main(String[] args) {
	        CPU a = new CPU();
	        a.setSpeed(2200);

	        HardDisk b = new HardDisk();
	        b.setAmount(200);

	        PC c = new PC();

	        c.setCPU(a);
	        c.setHardDisk(b);
            
	        c.show();
	}
}
